﻿using FolderCompare.ViewModels;

namespace FolderCompare.Views;

public partial class WinTextCompare : Window
{
    public WinTextCompare(string? oldFile, string? newFile)
    {
        InitializeComponent();
        DataContext = new WinTextCompareViewModel(oldFile, newFile);
        WindowController.UpdateWindowConfig(this, this.GetType());
        WindowController.EscToExit(this);
    }
}